package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "cn_omc_service")
public class OmcService extends BaseEntity {

    /**
     * 服务名称
     */
    @Column(name = "service_name")
    private String serviceName;

    /**
     * 服务内容
     */
    @Column(name = "service_content")
    private String serviceContent;

    /**
     * 需使用的积分
     */
    @Column(name = "integral")
    private Integer integral;

    /**
     * 服务类型 0-按次 1-按小时
     */
    @Column(name = "service_type")
    private Integer serviceType;

    /**
     * 下单人
     */
    @Column(name = "order_put")
    private String orderPut;

    /**
     * 接单人
     */
    @Column(name = "order_recv")
    private String orderRecv;

    /**
     * 确认订单人
     */
    @Column(name = "order_confirm")
    private String orderConfirm;

    /**
     * 接单超时间隔
     */
    @Column(name = "duration_recv")
    private String durationRecv;

    /**
     * 签到超时间隔
     */
    @Column(name = "duration_in")
    private String durationIn;

    /**
     * 服务超时间隔
     */
    @Column(name = "duration_service")
    private String durationService;

    /**
     * 签退超时间隔
     */
    @Column(name = "duration_out")
    private String durationOut;

    /**
     * 确认超时间隔
     */
    @Column(name = "duration_confirm")
    private String durationConfirm;

    /*
    * 下单次数
    * */
    @Column(name = "order_times")
    private Integer orderTimes;

    /*
    * 服务次数
    * */
    @Column(name = "service_times")
    private Integer serviceTimes;

    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;

    /**
     * 创建人
     */
    @Column(name = "creator")
    private String creator;

    /**
     * 创建人ID
     */
    @Column(name = "creator_id")
    private Long creatorId;

    /**
     * 创建时间
     */
    @Column(name = "created_time")
    private Date createdTime;

    /**
     * 最近操作人
     */
    @Column(name = "last_operator")
    private String lastOperator;

    /**
     * 最后操作人ID
     */
    @Column(name = "last_operator_id")
    private Long lastOperatorId;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 组织Id
     */
    @Column(name = "group_id")
    private Long groupId;

}